﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WitsWebApi.Entity.PageHelper
{
    public class PagedInput
    {
        /// <summary>
        /// 页码，从1开始
        /// </summary>
        [DefaultValue(1)]
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页数量
        /// </summary>
        [DefaultValue(20)]
        public int PageSize { get; set; } = 20;
    }
}
